SftTree/OCX 7.0

SftTree.FirstDependent Property

Softel vdm, Inc.

Returns the index of an item's first dependent.

Deprecated - Provided for compatibility with earlier versions only - Use Item.FirstDependent instead

Syntax       

Get

VB.NET

DependentIndex = object.get_FirstDependent(ByVal ItemIndex As Integer)  As Integer

VB

DependentIndex = object.FirstDependent(ByVal ItemIndex As Long)  As Long

C#.NET

int DependentIndex = object.get_FirstDependent(int ItemIndex);

VC++

long DependentIndex = object->FirstDependent[long ItemIndex];
long DependentIndex = object->GetFirstDependent(long ItemIndex);

C

HRESULT object->get_FirstDependent(long ItemIndex, long* DependentIndex);

Delphi

DependentIndex := object.FirstDependent[ItemIndex : Integer]   : Integer;

object

A SftTree object.

ItemIndex

The zero-based index of the item whose first dependent item is to be returned.

DependentIndex

Returns the index of the item's first dependent.  If the item doesn't have a dependent, -1 is returned.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.FirstDependent instead

The FirstDependent property returns the index of an item's first dependent.

The Item.LastDependent property can be used to retrieve an item's last dependent.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com